﻿using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.IRepositorys.Pinv
{
    public interface IPuRepository
    {
        int GetPuWhereCount(string Vendor_name, string Purret_code);//条件查询采购退货总条数

        List<Pu_details_Order> GetPuFyWhereSelect(string Vendor_name, string Purret_code, int currentPage, int pageSize);//分页条件查询采购退货信息

        Task<int> PutPuDelete(Pinv_purret pinv_Purret);//删除

        Task<int> PostPuAdd(Pinv_purret pinv_Purret, List<Pinv_podet> pinv_Podets);//添加

        Task<int> PutPuUpdate(Pinv_purret pinv_Purret, List<Pinv_podet> pinv_Podets);//修改

        Task<int> PutPuAudit(Pinv_purret pinv_Purret, List<Pinv_podet> pinv_Podets);//审核
    }
}
